Computer Configuration > Administrative Templates > Firefox > DNS Over HTTPS
Both
HKLM\Software\Policies\Mozilla\Firefox\DNSOverHTTPS
If this policy is enabled, the URL specified is used as the provider URL. If this policy is disabled or not configured, the default provider is used.